﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MailServer.Client {
    public class Message {
        public string From { get; set; }
        public string To { get; set; }
        public string Subject { get; set; }
        public string Body { get; set; }
        public int Status { get; set; }

        public override string ToString() {
            return "    From: " + From + Environment.NewLine +
                   "    To:" + To + Environment.NewLine +
                   "    Subject: " + Subject + Environment.NewLine +
                   "    Body: " + Body + Environment.NewLine;
        }
    }
}
